package com.java.comprehensive;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ImportResource;

import java.util.Arrays;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ArithmeticApplication {

	public static void main(String[] args) {
		SpringApplication.run(ArithmeticApplication.class, args);
//		ConfigurableApplicationContext run = SpringApplication.run(ArithmeticApplication.class, args);
//		Arrays.stream(run.getBeanDefinitionNames()).forEach(System.out::println);
//		System.out.println(run.containsBean("animal01"));
	}

}
